package com.niit.gams.dao;

import com.niit.gams.pojo.SysUser;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser> {
  //通过用户名查询用户
  SysUser findUserByName(String name);
  //分页查询
  List<SysUser> findUsersByPage(Integer curPage, Integer pageSize);
}
